/*
 * 
 * Author Guilherme.Coelho
 * 
 */
package com.pdweb.dao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public abstract class DBconnection {
	
	
	public Connection getConnection() throws ClassNotFoundException, SQLException{
		
		Class.forName("com.mysql.jdbc.Driver");
		return DriverManager.getConnection("jdbc:mysql://localhost:3306/pdweb","root","");
		
	}
	
}
